//
//  ViewController.h
//  TestSchool
//
//  Created by wuxiaoquan on 12-11-2.
//  Copyright (c) 2012年 yaoxia. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASIHTTP/ASIFormDataRequest.h"
#import "JSON/SBJson.h"
#import "WXQViewControllerExtensions.h"
#import "BaseNetViewController.h"

@interface ViewController : BaseNetViewController<UITextFieldDelegate>
{
    __weak ASIFormDataRequest *request;
}

@property UINavigationController *navController;

@property IBOutlet UITextField *schoolIdTF;
@property IBOutlet UITextField *passwordTF;

-(IBAction)login:(id)sender;
-(IBAction)touchBackground:(id)sender;
-(IBAction)goMainBorad:(id)sender;

-(void)userLoginWithId:(NSString *)schoolId password:(NSString *)p;
-(IBAction)guestLogin:(id)sender;

@end
